package com.zjuh.taofood.common;



public class JsoupHtmlContentParser {

/*	public static String filterTagAndAttributes(String content) {
		try {
			Document doc = Jsoup.parse(content);
			return doc.text();
		} catch (Exception e) {
			throw new RuntimeException(e);
		}
	}
	
	public static void main(String[] args) throws IOException {
		String content = FileUtil.readAsString(new File("d:/temp/aaa.htm"), "gbk");
		content = JsoupHtmlContentParser.filterTagAndAttributes(content);
		
		FileUtil.writeContent(new File("d:/temp/aaa2.txt"), content);
		
		System.out.println("done!");
	}*/
}
